#ifndef __MESH_BUFFER_H__
#define __MESH_BUFFER_H__

#include "IMeshBuffer.h"

namespace steam
{
	namespace coal
	{
		class MeshBuffer : public IMeshBuffer
		{
		public:

			MeshBuffer();

			~MeshBuffer();

			unsigned int getFaceCount() const;

			ConstFaceIterator getFaceStartIter() const;

			ConstFaceIterator getFaceEndIter() const;

			std::string getMeshBufferName() const;

			void setMeshBufferName(std::string& name);

			void setMaterialName(std::string& materialName);

			std::string getMaterialName() const;

			void addFace(IFace* face);

		private:

			FaceVector m_faces;

			std::string m_name;

			std::string m_materialName;

		};
	}

}

#endif